package com.atguigu.dao;

import com.atguigu.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao extends BaseMapper<User> {

    List<User> selectAllByUserName(@Param("name") String name);

    IPage<User>  selectAllByUserNamePage(@Param("name")String name,IPage page);


}
